<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .header {
            margin-top: 10px;
            margin-bottom: 10px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            border: 1px solid black;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>
<div class="header">
    <h1>Issue</h1>
    <button><a href="/">返回</a></button>
    <button><a href="/issue/add">增加</a></button>
</div>
<div class="content">
    <table>
        <thead>
        <tr>
            <th>事务ID</th>
            <th>项目名称</th>
            <th>提交用户</th>
            <th>事务解决情况</th>
            <th>问题描述</th>
            <th>问题详情</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {{ range .data }}
        <tr>
            <td>{{ .IssueId }}</td>
            <td>{{ .ProjectName }}</td>
            <td>{{ .IssueUser }}</td>
            <td>{{ .IssueStatus }}</td>
            <td>{{ .IssueDescribe }}</td>
            <td>{{ .IssueDetail }}</td>
            <td>
                <button><a href="/issue/edit/{{ .IssueId }}">edit</a></button>
                <button><a href="/issue/delete/{{ .IssueId }}">delete</a></button>
                <button><a href="javascript:;">处理</a></button>
            </td>
        </tr>
        {{ end }}
        </tbody>
    </table>
</div>
</body>
</html>